package com.yaorange.service;

import com.github.pagehelper.PageInfo;
import com.sun.org.apache.xpath.internal.operations.Bool;
import com.yaorange.entity.Book;

import java.util.List;

/**
 * @description: 业务层jiek
 * @company: yaorange
 * @author: Mr.Liu
 * @version: 1.0
 * @create: 2021-11-23 15:27:14
 */

public interface BookService {
    List<Book> findAll();

    PageInfo<Book> page(Integer pageNum, Integer pageSize);

    Boolean add(Book book);

    Boolean update(Book book);

    Boolean delete(Integer id);

    Book select(Integer id);
}
